package com.xuecheng.api.comment.model.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author by wangwei
 * @date 2021/12/25.
 */
@Data
@ApiModel ( "评论信息查询封装类" )
public class CommentModel implements Serializable {

    @ApiModelProperty("评价级别[1好评 0中评 -1差评]")
    private Integer level;

    @ApiModelProperty("回复状态 Y/N")
    private String replyStatus;

    @ApiModelProperty("评论对象,课程发布id")
    private Integer targetId;

    @ApiModelProperty("评论对象[课程名称]")
    private String targetName;

    @ApiModelProperty(value = "对象类型")
    private String targetType;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "评论用户")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像")
    private String userHead;

    @ApiModelProperty(value = "评论内容")
    private String commentText;

    @ApiModelProperty(value = "评论时间")
    private LocalDateTime commentDate;

    @ApiModelProperty(value = "评几星")
    private Integer starRank;

    @ApiModelProperty(value = "0隐藏  1显示")
    private Integer status;

    @ApiModelProperty(value = "是否禁止回复")
    private Integer forbidReply;

    @ApiModelProperty(value = "点赞数量")
    private Integer praiseNum;

    @ApiModelProperty(value = "评论归属于")
    private Long belongTo;

    @ApiModelProperty(value = "评论来源[那个项目]")
    private String comeFrom;
}
